<!--头部 开始-->
<header id="header" class="header-transparent header-transparent-dark" data-plugin-options="{'stickyEnabled': true, 'stickyEnableOnBoxed': true, 'stickyEnableOnMobile': true, 'stickyStartAt': 1, 'stickyChangeLogo': false}">
    <div class="header-body border-bottom-0">
        <div class="header-container container">
            <div class="header-row">
                <div class="header-column justify-content-start">
                    <div class="header-logo">
                        <a href="{$home_path}">
                            <img class="my-0" alt="{$siteRs.title}" src="{$siteRs.logo}" />
                        </a>
                    </div>
                </div>
                <div class="header-column justify-content-end">
                    <div class="header-nav">
                        <div class="header-nav-main header-nav-main-effect-1 header-nav-main-sub-effect-1">
                            <nav class="collapse">
                                <ul class="nav flex-column flex-lg-row" id="mainNav">
                                    {volist name="navigation" id="oneRs"}
                                        <!-- 分类展示 -->
                                        {if $oneRs.att_type eq 'tile'}
                                            <li class="dropdown dropdown-mega">
                                                <a class="dropdown-item dropdown-toggle" href="{$oneRs.linkurl}">{$oneRs.title}</a>
                                                <ul class="dropdown-menu">
                                                    <li>
                                                        <div class="dropdown-mega-content">
                                                            <div class="row">
                                                                <?php $sortList = sort_list(5, $lang, 'product'); ?>
                                                                {volist name="sortList" id="navsortRs"}
                                                                    <div class="nav-col col-12 pr-0">
                                                                        <a href="<?php the_category_url($navsortRs['id'],'product'); ?>" class="dropdown-mega-sub-title px-0 text-white">{$navsortRs.title}</a>
                                                                        <ul class="dropdown-mega-sub-nav ml-0">
                                                                            <?php $nav_pro_list = table_list('product', $navsortRs['id'], '*', $lang, 5, 'product.sequence desc'); ?>
                                                                            {volist name="nav_pro_list" id="navproRs"}
                                                                                <li class="detail"><a class="ellipsis line-1 dropdown-item" href="<?php the_view_url($navproRs['id'],'product'); ?>"><img src="{$navproRs.thumb}" class="rounded mr-2" onerror="this.src='/skin/admin/img/nopic.png'">{$navproRs.title|raw}</a></li>
                                                                            {/volist}
                                                                            <li class="detail"><a class="dropdown-item" href="<?php the_category_url($navsortRs['id'],'product'); ?>">&raquo; {:lang('v_more')}</a></li>
                                                                        </ul>
                                                                    </div>
                                                                {/volist}
                                                            </div>
                                                        </div>
                                                    </li>
                                                </ul>
                                            </li>
                                        {else /}
                                            {empty name="oneRs.subOne"}
                                                <li><a class="dropdown-item" href="{$oneRs.linkurl}">{$oneRs.title}</a></li>
                                            {else /}
                                                <li class="dropdown">
                                                    <a class="dropdown-item dropdown-toggle" href="{$oneRs.linkurl}">{$oneRs.title}</a>
                                                    <ul class="dropdown-menu">
                                                        {volist name="oneRs.subOne" id="twoRs"}
                                                            {empty name="twoRs.subTwo"}
                                                                <li><a class="dropdown-item" href="{$twoRs.linkurl}">{$twoRs.title}</a></li>
                                                            {else /}
                                                                <li class="dropdown-submenu">
                                                                    <a class="dropdown-item" href="{$twoRs.linkurl}">{$twoRs.title}</a>
                                                                    <ul class="dropdown-menu">
                                                                        {volist name="twoRs.subTwo" id="threeRs"}
                                                                            {empty name="threeRs.subThree"}
                                                                                <li><a class="dropdown-item" href="{$threeRs.linkurl}">{$threeRs.title}</a></li>
                                                                            {else /}
                                                                                <li class="dropdown-submenu">
                                                                                    <a class="dropdown-item" href="{$threeRs.linkurl}">{$threeRs.title}</a>
                                                                                    <ul class="dropdown-menu">
                                                                                        {volist name="threeRs.subThree" id="fourRs"}
                                                                                            <li><a class="dropdown-item" href="{$fourRs.linkurl}">{$fourRs.title}</a></li>
                                                                                        {/volist}
                                                                                    </ul>
                                                                                </li>
                                                                            {/empty}
                                                                        {/volist}
                                                                    </ul>
                                                                </li>
                                                            {/empty}
                                                        {/volist}
                                                    </ul>
                                                </li>
                                            {/empty}
                                        {/if}
                                    {/volist}
                                    {if count($lang_list) > 1}
                                        <li class="dropdown">
                                            <a href="{$home_path}" class="dropdown-item dropdown-toggle"><img src="{$langRs.ico}" class="mr-1" />{$langRs.viewtitle}</a>
                                            <ul class="dropdown-menu">
                                                {volist name="lang_list" id="langRs"}
                                                    <li><a class="dropdown-item" href="{$langRs.url}"><img src="{$langRs.ico}" class="mr-1" />{$langRs.viewtitle}</a></li>
                                                {/volist}
                                            </ul>
                                        </li>
                                    {/if}
                                </ul>
                            </nav>
                        </div>
                        <button class="btn header-btn-collapse-nav" data-toggle="collapse" data-target=".header-nav-main nav"><i class="fa fa-bars"></i></button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>
<!--头部 结束-->